<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/11/16
  Time: 9:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%

    session.setAttribute("name", "张三");  //add
    session.setAttribute("name", "李四");  //replace
    session.removeAttribute("name");   //  remove


    session.invalidate();
%>

<h3>销毁session</h3>


</body>
</html>
